package com.koron.css2.clientCenter.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * valve_close
 * @author 
 */
public class ValveCloseBean implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 单据号
     */
    private String billNo;

    /**
     * 单据时间
     */
    private Date receiptTime;

//    private Date planStartTime;
    /**
     * 计划完成时间
     */
    private Date planTime;

    /**
     * 关闭原因
     */
    private String reason;

    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 流程状态
     */
    private String processState;

    /**
     * 流程名称
     */
    private String processName;

    /**
     * 当前处理人
     */
    private String processHandleMan;

    private String createName;

    private Date createTime;

    private String updateName;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    /**
     * 营业区域
     */
    private String businessArea;

    public String getBusinessArea() {
        return businessArea;
    }

    public void setBusinessArea(String businessArea) {
        this.businessArea = businessArea;
    }

//    public Date getPlanStartTime() {
//        return planStartTime;
//    }
//
//    public void setPlanStartTime(Date planStartTime) {
//        this.planStartTime = planStartTime;
//    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getbillNo() {
        return billNo;
    }

    public void setbillNo(String billNo) {
        this.billNo = billNo;
    }

    public Date getReceiptTime() {
        return receiptTime;
    }

    public void setReceiptTime(Date receiptTime) {
        this.receiptTime = receiptTime;
    }

    public Date getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Date planTime) {
        this.planTime = planTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getprocessState() {
        return processState;
    }

    public void setprocessState(String processState) {
        this.processState = processState;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public String getProcessHandleMan() {
        return processHandleMan;
    }

    public void setProcessHandleMan(String processHandleMan) {
        this.processHandleMan = processHandleMan;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ValveCloseBean other = (ValveCloseBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getbillNo() == null ? other.getbillNo() == null : this.getbillNo().equals(other.getbillNo()))
            && (this.getReceiptTime() == null ? other.getReceiptTime() == null : this.getReceiptTime().equals(other.getReceiptTime()))
            && (this.getPlanTime() == null ? other.getPlanTime() == null : this.getPlanTime().equals(other.getPlanTime()))
            && (this.getReason() == null ? other.getReason() == null : this.getReason().equals(other.getReason()))
            && (this.getProcessInstanceId() == null ? other.getProcessInstanceId() == null : this.getProcessInstanceId().equals(other.getProcessInstanceId()))
            && (this.getprocessState() == null ? other.getprocessState() == null : this.getprocessState().equals(other.getprocessState()))
            && (this.getProcessName() == null ? other.getProcessName() == null : this.getProcessName().equals(other.getProcessName()))
            && (this.getProcessHandleMan() == null ? other.getProcessHandleMan() == null : this.getProcessHandleMan().equals(other.getProcessHandleMan()))
            && (this.getCreateName() == null ? other.getCreateName() == null : this.getCreateName().equals(other.getCreateName()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateName() == null ? other.getUpdateName() == null : this.getUpdateName().equals(other.getUpdateName()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getbillNo() == null) ? 0 : getbillNo().hashCode());
        result = prime * result + ((getReceiptTime() == null) ? 0 : getReceiptTime().hashCode());
        result = prime * result + ((getPlanTime() == null) ? 0 : getPlanTime().hashCode());
        result = prime * result + ((getReason() == null) ? 0 : getReason().hashCode());
        result = prime * result + ((getProcessInstanceId() == null) ? 0 : getProcessInstanceId().hashCode());
        result = prime * result + ((getprocessState() == null) ? 0 : getprocessState().hashCode());
        result = prime * result + ((getProcessName() == null) ? 0 : getProcessName().hashCode());
        result = prime * result + ((getProcessHandleMan() == null) ? 0 : getProcessHandleMan().hashCode());
        result = prime * result + ((getCreateName() == null) ? 0 : getCreateName().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateName() == null) ? 0 : getUpdateName().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", billNo=").append(billNo);
        sb.append(", receiptTime=").append(receiptTime);
        sb.append(", planTime=").append(planTime);
        sb.append(", reason=").append(reason);
        sb.append(", processInstanceId=").append(processInstanceId);
        sb.append(", processState=").append(processState);
        sb.append(", processName=").append(processName);
        sb.append(", processHandleMan=").append(processHandleMan);
        sb.append(", createName=").append(createName);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateName=").append(updateName);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}